class AddSomeColumnToStoreStaff < ActiveRecord::Migration[5.0]
  def change
    add_column :store_staffs, :store_department_id, :integer
    add_column :store_staffs, :store_position_id, :integer
    add_column :store_staffs, :numero, :string
    add_column :store_staffs, :employeed_at, :datetime
    add_column :store_staffs, :status, :integer, default: 0
    add_column :store_staffs, :idcard, :string
    add_column :store_staffs, :wechat, :string
    add_column :store_staffs, :education, :integer
  end
end
